package com.qi;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @yaoweiqi 姚炜琦
 */
// 排除不进行数据库连接设置
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@MapperScan("com.qi.mapper")
@EnableAsync//添加启动类@EnableAsync
@EnableScheduling
@Slf4j
public class SpringBootUnionApplication {
    public static void main(String[] args) {
        //springboot启动运行
        SpringApplication.run(SpringBootUnionApplication.class,args);
        log.info("springboot 3 研发平台启动成功！！！");
    }
}
